/**
 * 
 */
package dstation.testbeans;

import java.io.Serializable;

/**
 * @author Evan
 *
 */
public class EncoderTestBean extends TestMetadataBean implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = -976915948484702358L;
	private int motorSpeed;
	private int readingFrequency;
	private Direction direction;

	public enum Direction{
		FORWARD,BACKWARD,FORWARD_BACKWARD,BACKWARD_FORWARD
	}

	/**
	 * @return the motorSpeed
	 */
	public int getMotorSpeed() {
		return motorSpeed;
	}

	/**
	 * @return the readingFrequency
	 */
	public int getReadingFrequency() {
		return readingFrequency;
	}

	/**
	 * @return the direction
	 */
	public Direction getDirection() {
		return direction;
	}

	/**
	 * @param motorSpeed the motorSpeed to set
	 */
	public void setMotorSpeed(int motorSpeed) {
		this.motorSpeed = motorSpeed;
	}

	/**
	 * @param readingFrequency the readingFrequency to set
	 */
	public void setReadingFrequency(int readingFrequency) {
		this.readingFrequency = readingFrequency;
	}

	/**
	 * @param direction the direction to set
	 */
	public void setDirection(Direction direction) {
		this.direction = direction;
	}
}
